fixed registration
layout and styles added