Added Login and Error Pages