Bug fix. Registration working!