fixed avatar upload modal state and removed debugger -- also fixed image storage pathing for user avatars