got a  base structure and authentication to work