ajax login & subscribtion fixes