added user logout and user page