Implement sandboxed user logic for main page

Change-Id: Id9cd5a6e1aa6ac3f3dda690865f0c4536f350421
Merge "Implement sandboxed user logic for main page"