fixed login with self-created function. removed default password hashing with every update.