Features refactoring

Also fixing user controller unit tests

Signed-off-by: Ippoippo <ippoippo-software@ippoippo-eco.com>