fixed issue where current_user isnt available when logged out - need a better determination of this in the controller in the future