Added current user helper method to applications controller