login directive
add mongodb