You can show username for autenticated users
<div sec:authorize="isAuthenticated()"> Welcome, <span sec:authentication="name">Username</span> </div>