added signup.js and edits for signup post requests