showing error msg to not registered user