1. Use Integer warapper class instead of base type int
2. Return main logic view after logout