register , login for parent end