Display name of logged in user in home page

how can i display the name of user who is logged in in the home page of an application.
Do i need to use session management?
require help on this

That depends entirely on how the login is done in your application. If there is no login yet at all in your app, I recommend using [Spring Security]
(https://vaadin.com/learn/tutorials/securing-your-app-with-spring-security) to do so. If you don’t have or want Spring, you could also manually implement a session managed login by reading/writing custom attributes in the VaadinSession ([more detailed explanation]