added a signin, almost functioning