Added code to remove login block