added tests and initial structure for signin