added user profile page and logic