Added stylesheet, and made it work for the registering bit