moved login logout and ajaxlogin to usercontroller and changed routing