added tests for forgotten password. Also code now provides user with timestamp and token when lost password