Kibana Login issues

I seem to be having a redirect issue with my kibana's login page on my elk stack. Below is my yml for the docker-compose.
After starting this up I added myself as a user on the elasticsearch api and the user exists.
When I go to host:5601 it redirects to http://host:5601/login?next=%2F#?_g=() for login and if I try login into my account or the elastic superuser account it opens the loading page before just reopening the login page with no error message, implying there was no login error.
I assume the next query parameter needs something specific there but:

  1. what should it be?
  2. how do I have it default to that for other users?
version: '2'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.2.0
    container_name: elasticsearch
    environment:
      - cluster.name=docker-cluster
      - discovery.type=single-node
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - xpack.security.enabled=true
      - xpack.security.audit.enabled=true
      - ELASTIC_USERNAME=elastic
      - ELASTIC_PASSWORD=<>
    ports:
      - 9200:9200
      - 9300:9300
    volumes:
      - /med/General/joji/data:/usr/share/elasticsearch/data
    networks: 
      - elk001
  kibana:
    image: docker.elastic.co/kibana/kibana:7.2.0
    container_name: kibana
    environment:
      - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - XPACK_SECURITY_ENABLED=true
      - ELASTICSEARCH_USERNAME=elastic
      - ELASTICSEARCH_PASSWORD=<>
    depends_on: 
      - elasticsearch
    ports:
      - 5601:5601
    networks: 
      - elkjoji
networks:
  elk001:
    driver: bridge