Got Login and Logout functionality working and started the registration function