You can add a data view to your page with microflow as a source and return Account object of the current user from that microflow.
Microflow:
Dataview:
actually, when you login the current user is already on mendix, you dont need to retrieve to compare with db, it will make a lot of overhead, if your application have a lot of users, then connection will be a problem.
create a microflow like this
Then on the home page you can pass the account information into text.