very basic sign in javascript side. go to /occasion/:id/sign_in to see