fix error handling when creating an already existing user
functionality to change passwords, first draft