Get user by name from db