Bug 565945: Refactor user handling to separate class

Change-Id: I4afcc0e30abd044a6f91b51b4a170eafe87cd822
30 files changed