The basic building blocks of a single page web application with (local) authentication