Adding "sign in" action to sava github loggin in a cookie.
It is the same thing for "sign out" action which delete the cookie