login or register features cleanup