finished user controller test and model tests