Get user information from DB.

First it goes to DB to verify the user name existence and get the
according information.