added current user to application controller so it could be used in other controllers. created helper method so that it could be available to the views.