fixes login controller to remove sidebar and header