refactored login response handling
handled administration side bar activation