uses Digest:sha1 and implements sessions (sinatra)