changed style und behavior for registration