Create Sinatra extension to allow users to log in and out