logout
move public and template in lib folder