bug fixed login