login button in unnecessary pages issue fixed