implemented the contents for login and home page