You should be able to retrieve the name out of the account that is logged in.
Or retrieve the entity connected to the account that stores this information?
For example: you have an entity Person that has an account, you can retrieve this entity and its attribute to fill the users name.
Different approached depening on you Database Scheme