Implement login endpoint

### Implement login endpoint