working auth
removed unneeded dependency