refactors @current_user for application controller