added a route that returns whether a username is taken through json