Use user.get_username() instead of user.username

To support custom User models
Merge pull request #107 from shvechikov/master

Use user.get_username() instead of user.username