log in bug fixed