added code to the login, signup and home views