invite method added to user controller