Added shared preferences & session manager