working registration and sign-up functionalty.