Implement Only active user can log in.