fixed login and addcontest bug