Login and User providers from db working.

Signed-off-by: drandx <garjuanpablo@gmail.com>