Use Devise functions to check if a user is logged in.