login functionality and login  login and register styling