Adds application methods for current_user and authenticate