Used bcrypt-ruby for authentication