always return a json object instead of exiting
add some bootstrap-compatible class names
wrap authorize form in a classed div