Register and login pages fixed