update to user controller. severe bug fix.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>