switched to jquery mobile and cleaned up auth