added profile pic upload function
adding mongodb session store to make connections persistent