Admin registration modified to be json
JS names refactored from using underscores to hypens
Login form modified to ajax