A login mechanism with oauth and storage in the nosql side using mongodb