Getting username from request.getUserPrincipal.