added authentication for changing works and companies;

added admin to users;

added pagination

Signed-off-by: Alex Izotov <martinandrudy@gmail.com>