Now login/register functionality completely working, now displaying spinner while ajax call executting