Implement User.block() function

Change-Id: Ic6d1bb17b82698869b63e8223cc2f5d24c0b7c27
Merge "Implement User.block() function"