Modified login to work overall.
Added config file.