sending the username to the controller from the view