Rendering different views depending on if the user is logged in or not.