Sinatra API to handle signups