Added support for users to select an avatar when using 3rd party passport log in. More bug fixes.