added menu generation and moved auth options to config file