Now supports retrieving information of a user from a database.