Simple Sinatra authentication example using Mongodb and Bcrypt