added the current user medthod to the application controller