Implemented signin api