This method usually needs to retrieve necessary user information
(e.g. role, name, rank, etc.) from the user database according to
the specified username. The newly created user instance should be
initialized with these information.
If the username is invalid (not found in the user database), null
should be returned.
You may use {@link getDbConnection DbConnection} to deal with database.