added current_user helper method to applicationcontroller