Can some one please post basic login/logoff authentication example using MongoDB ?