Add signup function

It closes #60