add user registration and last_login fields [Closes #150][Closes #151]