authentication with db stuff
authentication stuffs after merge conflicts