Fixing bcrypt register & login