added error page, picture editing/deleting