Fixed current_user references. Improved SQL stored models serialization. Fixed image storage