beginnings of user controller