update sign up and login

update sign up and login
Add core data.