added popup login
added popup login
added tests and fixed ajax issues...