Create signin.js

Contains scripts for client side actions involved during signin