fixed bug when logging in

error for POST variable not initialized at login.