minor refactored bits of server/users module towards a more functional style
Merge pull request #209 from n1k0/minor-server-users-improvements

Minor changes to server users module