sinatra app that models user authentication