showing login inputs when user is not logged in and showing logout button when user is logged in