Register Screen Works

Fixed bugs in registration