fix bug where new user registration tries to post to the login, update the config to include Sinatara/JSON functionality