Fixed first bug with login pages