login logic should works now, need debug into mongo link.