Fixed edit page

Fixes #22
Backend code is ok