registration errors fixed
login and registration w/bcrypt done