Your if statements are wrong. Change to this:

if (stored_user_name==1) {