Fix login and fix additional via ajax