initial work for login and home page