complete authentication using Bcrypt gem