cleaned home function
able to link to edit page