small fix for exception
need to create different getUser method