Work in progress for user registration