Sinatra app to interface with pure-ftpd mysql