Put the login things in the main controller
Allow callback calling upon login
Login before adding a new transportation
Login before editing a transportation
Assign user to the submission
Output's CSRF token input

Without this, Django may not set the token in the cookie.

http://stackoverflow.com/a/16703297/252384
Put inside $timeout

Without it, the $http.get seems to be not working