user can either use email or username to login. initialized the home page