Restructure ajax message response

user login and check email