PHP Error fix

Fixed the login form re-population so it wouldn't cause php errors on
every page when users aren't logged in.