Better login and add new option logout from WebApp.