Update signin.js

Attempted signin function.