homepage and user page with login bug