added editing of microposts
adding index in for now
fixing tests, fixed edit for non owner
fixing user permissions