simpify config and move auth to config file. add a bin command