implementation to make user controller specs pass