* fix session clearing on error * use singleton context to manage user state * implement remember-me functionality * fix errors * fix more errors
* frontend cookie implementation * accept cookies for authentication * remove auth store * add self attr