Added if statement for User Dashboard if user is logged in/out