updated registration flow
updated login process