Started fleshing out login endpoint