added update and delete for users, created logout and other stuff