Add check to user be logged in when unlink account

We need to ensure that user has logged to prevent unexpected error.
Merge pull request #10 from vovan22/master

Add check to user be logged in when unlink account