Auth draft

Auth funtionality draft