Added login endpoint, need to support cookies now