Use ApplicationController#signed_in? to check for login instead of current_user.nil