Changed error msg for duplicate email id to be consistent with project desc
Separated clerk functions from connect.js into new clerk.js
Formmated and commented some code in connect.js