Re-enabled sign in code

PLEASE don't disable this when you make a pull request!