Tested retrieving an user and fixed bug