Fix retrieve username

- As the user model can be swapable, we call to get_username instead of using username