added a bunch of new styles and authentication logic