Implemented redirect to LoginActivity if not logged in.