added debug msg for login