Fixed Log in Bug