fixed log in servlet