some changes to login and addition of register screen