working registration and first sign in after update