Login with restrict modules for users.

Signed-off-by: Macario Soares <macario.junior@gmail.com>