Null check on user object
Point to updated api module