Read the username from the database when the user is logged