Refectored code, updated mongo schema to include more info for signups