Setup base for building authentication service.

This commits enables checking for a logged-in user.
How the user logs in, or logs out, or changes his password,
or even registers, still needs to be done
Merge branch 'dev' of github.com:educatopia/educatopia into dev

Resolved merge conflict in app.js