login and dir structure