Added logged_in helper to allow us to check whether a user is logged in to show the appropriate button