Initial work to implement user auth