attempt to make a re-usable Sinatra module for the login/register/forgot stuff