fixed issue #71 user logs out after image upload fail
Merge pull request #83 from LisaHelm/master

fixed issue #71 user logs out after image upload fail