updadting registration flow and including observer gem