Added User avatar to profile
Fixed logic error in images controller