bcrypt authentication pre db