Implements registering new users

Fix #38