fix errors and add view partials for user administration