registration: encrypt password and set joindate
sign-in