Tomoauth

added if stmt in utils to make sure incoming post data isn't JSON while testing