Sign In Handler Implementation

Please review. Thanks.