bug fixed - login