Several error situations handled, UI improvements

Added: Auto complete for user name fields
Fixed: Check user existance before getting or setting permissions.
Fixed: Several UI bugs fixed