poor's man implementation of assigning new user to office; logout; also fixed a bug and made minor UI changes