Implemented email+password regisration