Common Login Activity Impletemented for 2 different apps using Shared Preferences