MultiType Logging and logout redirection
more features
Merge fix