user login and homepage integration