ajax login & subscribes fix