Fix installation problems
Add a -L option for logout