Finally added showprofile, tried to modify delete_profily to delete the userprics as well in the tables PICS and PUSERPICLIST but didnt finish. Looks like the database is not designed to delete pictures when you delete user.  Apart from that finally changed all the INSTAGRIM to CHROMOGRAM and some other bits. Will need to add some design, captions, photo delete button under pictures, fix delete account.