Update to login and php pages