fixed ajax login, added json mapper, userdetails changes