Initiated playlists.js plugin.
Logout works. Next time create a new branch for bugfix.
loadUserData ajax request correctly gets to userdata view function.
Restructured JS files. Extracted some of them to a root level static directory.
First version for model methods for json data retrieving.
Html refactored.
Auth window refactored.
Working on Ajax request sending.
Refactoring JS and Ajax structure of auth.
Refactored most of auth. Only delete is missing.
User deletion works. Auth refactoring ready.
Playlist updating (saving) now works. But it is slow. Try with simpler and probably quicker solution. Storing serialized JSON structures, and no separate Video model.
Playlist videos stored in JSON. Playlists get rendered on page.
Save data sent to server. Just need to process it, ie map it to playlist.update.