Support having no username and password
Improved indentation
Added a fix for the today_func