better constructor, authentication, links new tab