Add login system

It closes #64