Kent commit

Update user sign in , sign out, pattern, update RNG