Making sign out call via ajax