fix startup login issue

create files folder if it doesn't exist